package com.testplatfrom.autoapi.service;

import com.testplatfrom.autoapi.domain.TestplatfromTree;
import com.baomidou.mybatisplus.extension.service.IService;
import com.testplatfrom.autoapi.domain.dto.tree.TestplatfromTreeAdd;
import com.testplatfrom.autoapi.domain.dto.tree.TestplatfromTreeUpdate;
import com.testplatfrom.autoapi.domain.dto.tree.TestplatfromTreeVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杨森
 * @since 2023-12-11
 */
public interface TestplatfromTreeService extends IService<TestplatfromTree> {
    /**
     * 获取所有树型结构接口
     * @return 返回所有
     */
    List<TestplatfromTreeVO> getTree();

    /**
     * 新增树型结构
     * @return 新增新增树型结构
     */
    Boolean addTrre(TestplatfromTreeAdd testplatfromTreeAdd);


    /**
     * 编辑树型结构
     * @return 编辑新增树型结构
     */
    Boolean updateTrre(TestplatfromTreeUpdate testplatfromTreeUpdate);

}
